package com.ruoyi.peach.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 采集记录对象 collect_record
 * 
 * @author ruoyi
 * @date 2025-09-22
 */
public class CollectRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    @Excel(name = "记录序号")
    private Long recordId;

    /** 任务ID */
    @Excel(name = "任务序号")
    private Long taskId;

    /** 采集人ID */
    @Excel(name = "采集人序号")
    private Long collectorId;

    /** 采集人姓名 */
    @Excel(name = "采集人姓名")
    private String collectorName;


    /** 采集时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "采集时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date collectTime;

    /** 采集图片 */
    @Excel(name = "采集图片URL")
    private String imageUrls;

    /** 采集值 */
    @Excel(name = "采集值")
    private String dataValue;

    private List<RecordImg> recordImgs;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }

    public void setCollectorId(Long collectorId) 
    {
        this.collectorId = collectorId;
    }

    public Long getCollectorId() 
    {
        return collectorId;
    }

    public void setCollectTime(Date collectTime) 
    {
        this.collectTime = collectTime;
    }

    public Date getCollectTime() 
    {
        return collectTime;
    }

    public void setDataValue(String dataValue) 
    {
        this.dataValue = dataValue;
    }

    public String getDataValue() 
    {
        return dataValue;
    }

    public void setImageUrls(String imageUrls) 
    {
        this.imageUrls = imageUrls;
    }

    public String getImageUrls() 
    {
        return imageUrls;
    }

    public String getCollectorName() {
        return collectorName;
    }

    public void setCollectorName(String collectorName) {
        this.collectorName = collectorName;
    }

    public List<RecordImg> getRecordImgs() {
        return recordImgs;
    }

    public void setRecordImgs(List<RecordImg> recordImgs) {
        this.recordImgs = recordImgs;
    }

    private List<Long> taskIdList;

    public List<Long> getTaskIdList() { return taskIdList; }
    public void setTaskIdList(List<Long> taskIdList) { this.taskIdList = taskIdList; }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("taskId", getTaskId())
            .append("collectorId", getCollectorId())
            .append("collectTime", getCollectTime())
            .append("dataValue", getDataValue())
            .append("imageUrls", getImageUrls())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
